<!-- 
 * 成果详情
 * @author: 
 * @since: 2022-10-19
 * demandDetail.vue
-->
<template>
  <div class="container">
    <achievementFileCom :type="2"></achievementFileCom>
  </div>
</template>

<script setup>
import { onMounted, onUnmounted } from 'vue';
import { useStore } from 'vuex';
import { useRouter } from 'vue-router';
const store = useStore();
const router = useRouter();


onMounted(() => {
  const level = router.currentRoute.value.meta.level
  store.dispatch('setting/setRouterCut', level);
})

onUnmounted(() => {
  store.dispatch('setting/setRouterCut', 2);
})

</script>

<style lang="scss" scoped></style>
